﻿using System;

struct Person
{
    public string id;
    public string name;
    public int age;
    public string gender;
}

namespace _07_StructDemo
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Person person = new Person();
            person.id = "1";
            person.name = "zhangsan";
            person.age = 30;
            person.gender = "male";
            Console.WriteLine("person.id：{0}", person.id);
            Console.WriteLine("person.name：{0}", person.name);
            Console.WriteLine("person.age：{0}", person.age);
            Console.WriteLine("person.gender：{0}", person.gender);
            Console.ReadKey();
        }
    }
}
